package com.ruike.alisurface.bean;

import java.util.List;

/**
 * 按照货道下单对象
 *
 * @author voodoo
 * @createDate 2022/12/24 024下午 01:10
 */
public class CreateOrderBySlotBean {

    /**
     * mchid : 6377025350405688
     * IsFace : false
     * details : [{"Quantity":10,"slotIndex":"1"},{"Quantity":1,"slotIndex":12}]
     */

    private String mchid;
    private boolean IsFace;
    private List<DetailsBean> details;

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public boolean isIsFace() {
        return IsFace;
    }

    public void setIsFace(boolean IsFace) {
        this.IsFace = IsFace;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class DetailsBean {
        /**
         * Quantity : 10
         * slotIndex : 1
         */

        private int Quantity;
        private String slotIndex;

        public int getQuantity() {
            return Quantity;
        }

        public void setQuantity(int Quantity) {
            this.Quantity = Quantity;
        }

        public String getSlotIndex() {
            return slotIndex;
        }

        public void setSlotIndex(String slotIndex) {
            this.slotIndex = slotIndex;
        }

        @Override
        public String toString() {
            return "DetailsBean{" +
                    "Quantity=" + Quantity +
                    ", slotIndex='" + slotIndex + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "CreateOrderBySlotBean{" +
                "mchid='" + mchid + '\'' +
                ", IsFace=" + IsFace +
                ", details=" + details +
                '}';
    }

}
